package itdfq.ydd.Behavior_Patters.observer;


/**
 * @Author GocChin
 * @Date 2021/5/23 13:06
 * @Blog: itdfq.com
 * @QQ: 909256107
 * @Descript:
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("1803120111  段方钦");
        Subject subject = new Parents();
        Observer o1;
        o1=new Children();
        subject.add(o1);
        subject.see();
    }
}
